package com.dao.impl;

import com.dao.UserDao;

public class UserDaoimpl implements UserDao {
    UserDao userDao;
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
    @Override
    public boolean login(String username, String password) {
        if (username.equals("张三") && password.equals("123")){
            return true;
        }
        return false;
    }
}
